package com.example.cwfdemo.pojo;

import com.example.cwfdemo.config.EmailConfig;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Properties;

/**
 * @Author Carson
 * @Date 2019/8/11 16:25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Component
@ConfigurationProperties(prefix = "fuce")
public class Email {

    // 收件人邮箱
    private String to;

    // 主题
    private String subject;

    // 内容
    private Object content;

    // 内容类型
    private String contentType;

    // 文本信息
    private String text;

    //收件人邮箱 抄送
    private String toChaosong;

    //收件人邮箱 密送
    private String toMisong;

}
